package frobagroup.services.frontEnd;

import frobagroup.entities.backstage.CarouselFigure;
import frobagroup.pagination.Pagination;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * Created by Tinsley on 2018/5/15.
 */
public interface HomeService {

    Map<Boolean,List<CarouselFigure>> findCarousels();
    Map<String,Object> findProductDetial(String id, HttpServletRequest request);
    Pagination findExtensionProducts(Pagination pagination);
    Pagination findProductsByConditions(Pagination pagination);
}
